package com.ruoyi.biz.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 游戏附件对象 biz_file
 * 
 * @author jason
 * @date 2025-10-31
 */
public class BizFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 游戏id */
    @Excel(name = "游戏id")
    private Long gameId;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String name;

    /** 附件链接 */
    @Excel(name = "附件链接")
    private String link;

    /** 附件类型（0视频/1图片） */
    @Excel(name = "附件类型", readConverterExp = "0=视频/1图片")
    private String type;

    /** 是否是封面 0-不是/1-是 */
    private String face;


    /** 文件格式(mp4/jpg/png) */
    @Excel(name = "文件格式(mp4/jpg/png)")
    private String fileType;

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setGameId(Long gameId) 
    {
        this.gameId = gameId;
    }

    public Long getGameId() 
    {
        return gameId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gameId", getGameId())
            .append("name", getName())
            .append("link", getLink())
            .append("type", getType())
            .append("fileType", getFileType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
